This article illustrates some typical applications of operational amplifiers. A simplified schematic notation is used, and the reader is reminded that many details such as device selection and power supply connections are not shown.
Contents |
It is important to note that the equations shown below, pertaining to each type of circuit, assume that an ideal op amp is used. Those interested in construction of any of these circuits for practical use should consult a more detailed reference. See the External links and Further reading sections.
Resistors used in practical solid-state op-amp circuits are typically in the kΩ range. Resistors much greater than 1 MΩ cause excessive thermal noise and make the circuit operation susceptible to significant errors due to bias or leakage currents.
Practical operational amplifiers draw a small current from each of their inputs due to bias requirements and leakage. These currents flow through the resistances connected to the inputs and produce small voltage drops across those resistances. In AC signal applications this seldom matters. If high-precision DC operation is required, however, these voltage drops need to be considered. The design technique is to try to ensure that these voltage drops are equal for both inputs, and therefore cancel. If these voltage drops are equal and the common-mode rejection ratio of the operational amplifier is good, there will be considerable cancellation and improvement in DC accuracy.
If the input currents into the operational amplifier are equal, to reduce offset voltage the designer must ensure that the DC resistance looking out of each input is also matched. In general input currents differ, the difference being called the input offset current, Ios. Matched external input resistances Rin will still produce an input voltage error of Rin·Ios . Most manufacturers provide a method for tuning the operational amplifier to balance the input currents (e.g., "offset null" or "balance" pins that can interact with an external voltage source attached to a potentiometer). Otherwise, a tunable external voltage can be added to one of the inputs in order to balance out the offset effect. In cases where a design calls for one input to be short-circuited to ground, that short circuit can be replaced with a variable resistance that can be tuned to mitigate the offset problem.
Note that many operational amplifiers that have MOSFET-based input stages have input leakage currents that will truly be negligible to most designs.
Although the power supplies are not shown in the operational amplifier designs below, they can be critical in operational amplifier design.
Power supply imperfections (e.g., power signal ripple, non-zero source impedance) may lead to noticeable deviations from ideal operational amplifier behavior. For example, operational amplifiers have a specified power supply rejection ratio that indicates how well the output can reject signals that appear on the power supply inputs. Power supply inputs are often noisy in large designs because the power supply is used by nearly every component in the design, and inductance effects prevent current from being instantaneously delivered to every component at once. As a consequence, when a component requires large injections of current (e.g., a digital component that is frequently switching from one state to another), nearby components can experience sagging at their connection to the power supply. This problem can be mitigated with copious use of bypass capacitors connected across each power supply pin and ground. When bursts of current are required by a component, the component can bypass the power supply by receiving the current directly from the nearby capacitor (which is then slowly recharged by the power supply).
Additionally, current drawn into the operational amplifier from the power supply can be used as inputs to external circuitry that augment the capabilities of the operational amplifier. For example, an operational amplifier may not be fit for a particular high-gain application because its output would be required to generate signals outside of the safe range generated by the amplifier. In this case, an external push–pull amplifier can be controlled by the current into and out of the operational amplifier. Thus, the operational amplifier may itself operate within its factory specified bounds while still allowing the negative feedback path to include a large output signal well outside of those bounds.[1]
An inverting amplifier uses negative feedback[2] to invert (i.e., negate) and amplify a voltage. In particular, the Rin–Rf resistor network acts as an electronic seesaw (i.e., a class-1 lever) where the inverting (i.e., −) input of the operational amplifier is like a fulcrum about which the seesaw pivots. That is, because the operational amplifier is in a negative-feedback configuration, its internal high gain effectively fixes the inverting (i.e., −) input at the same 0 V (ground) voltage of the non-inverting (i.e., +) input, which is similar to the stiff mechanical support provided by the fulcrum of the seesaw. Continuing the analogy,
Hence, the amplifier output is related to the input as in
So the voltage gain of the amplifier is where the negative sign is a convention indicating that the output is negated. For example, if Rf is 10 kΩ and Rin is 1 kΩ, then the gain is −10 kΩ/1 kΩ, or −10 (or −10 V/V).[2] Moreover, the input impedance of the device is because the operational amplifier's inverting (i.e., −) input is a virtual ground.
In a real operational amplifier, the current into its two inputs is small but non-zero (e.g., due to input bias currents). The current into the inverting (i.e., −) input of the operational amplifier is drawn across the Rin and Rf resistors in parallel, which appears like a small parasitic voltage difference between the inverting (i.e., −) and non-inverting (i.e., +) inputs of the operational amplifier. To mitigate this practical problem, a third resistor of value can be added between the non-inverting (i.e., +) input and the true ground.[3] This resistor does not affect the idealized operation of the device because no current enters the ideal non-inverting input. However, in the practical case, if input currents are roughly equivalent, the voltage added at the inverting input will match the voltage at the non-inverting input, and so this common-mode signal will be ignored by the operational amplifier (which operates on differences between its inputs).
Amplifies a voltage (multiplies by a constant greater than 1)
The circuit shown computes the difference of two voltages multiplied by some constant. In particular, the output voltage is:
The differential input impedance Zin (i.e., the impedance between the two input pins) is approximately R1 + R2. The input currents vary with the operating point of the circuit. Consequently, if the two sources feeding this circuit have appreciable output impedance, then non-linearities can appear in the output. An instrumentation amplifier mitigates these problems.
Used as a buffer amplifier to eliminate loading effects (e.g., connecting a device with a high source impedance to a device with a low input impedance).
Due to the strong (i.e., unity gain) feedback and certain non-ideal characteristics of real operational amplifiers, this feedback system is prone to have poor stability margins. Consequently, the system may be unstable when connected to sufficiently capacitive loads. In these cases, a lag compensation network (e.g., connecting the load to the voltage follower through a resistor) can be used to restore stability. The manufacturer data sheet for the operational amplifier may provide guidance for the selection of components in external compensation networks. Alternatively, another operational amplifier can be chosen that has more appropriate internal compensation.
A summing amplifier sums several (weighted) voltages:
Combines very high input impedance, high common-mode rejection, low DC offset, and other properties used in making very accurate, low-noise measurements
Produces a very low distortion sine wave. Uses negative temperature compensation in the form of a light bulb or diode.
By using an RC network to add slow negative feedback to the inverting Schmitt trigger, a relaxation oscillator is formed. The feedback through the RC network causes the Schmitt trigger output to oscillate in an endless symmetric square wave (i.e., the Schmitt trigger in this configuration is an astable multivibrator).
Operational amplifiers can be used in construction of active filters, providing high-pass, low-pass, band-pass, reject and delay functions. The high input impedance and gain of an op-amp allow straightforward calculation of element values, allowing accurate implementation of any desired filter topology with little concern for the loading effects of stages in the filter or of subsequent stages. However, the frequencies at which active filters can be implemented is limited; when the behavior of the amplifiers departs significantly from the ideal behavior assumed in elementary design of the filters, filter performance is degraded.
Bistable output that indicates which of the two inputs has a higher voltage. That is,
where and are nominally the positive and negative supply voltages (which are not shown in the diagram).
The threshold detector with hysteresis, very similar to the zero crossing threshold detector, consists of an operational amplifier and a series of resistors that provide hysteresis. Like other detectors, this device functions as a voltage switch, but with an important difference. The state of the detector output is not directly affected by input voltage, but instead by the voltage drop across its input terminals (here, referred to as Va). From Kirchhoff's Current Law, this value depends both on Vin and the output voltage of the threshold detector itself, both multiplied by a resistor ratio.
Unlike the zero crossing detector, the detector with hysteresis does not switch when Vin is zero, rather the output becomes Vsat+ when Va becomes positive and Vsat- when Va becomes negative. Further examination of the Va equation reveals that Vin can exceed zero (positive or negative) by a certain magnitude before the output of the detector is caused to switch. By adjusting the value of R1, the magnitude of Vin that will cause the detector to switch can be increased or decreased. This property often proves very useful in various applications, including signal generators.
A zero crossing detector is a comparator with the reference level set at zero. It is used for detecting the zero crossings of AC signals. It can be made from an operational amplifier with an input voltage at its positive input (see circuit diagram).
When the input voltage is positive, the output voltage is a positive value, when the input voltage is negative, the output voltage is a negative value. The magnitude of the output voltage is a property of the operational amplifier and its power supply. When used with a ±15 V power supply and a 741C operational amplifier, Vsat+ is approximately 13.6 V and Vsat- is approximately -14.3 V.
A bistable multivibrator implemented as a comparator with hysteresis.
In this configuration, the input voltage is applied through the resistor (which may be the source internal resistance) to the non-inverting input and the inverting input is grounded or referenced. The hysteresis curve is non-inverting and the switching thresholds are where is the greatest output magnitude of the operational amplifier.
Alternatively, the input source and the ground may be swapped. Now the input voltage is applied directly to the inverting input and the non-inverting input is grounded or referenced. The hysteresis curve is inverting and the switching thresholds are . Such a configuration is used in the relaxation oscillator shown below.
Integrates the (inverted) signal over time
(where and are functions of time, is the output voltage of the integrator at time t = 0.)
Differentiates the (inverted) signal over time.
Simulates an inductor (i.e., provides inductance without the use of a possibly costly inductor). The circuit exploits the fact that the current flowing through a capacitor behaves through time as the voltage across an inductor. The capacitor used in this circuit is smaller than the inductor it simulates and its capacitance is less subject to changes in value due to environmental changes.
This circuit is unsuitable for applications relying on the back EMF property of an inductor as this will be limited in a gyrator circuit to the voltage supplies of the op-amp.
Creates a resistor having a negative value for any signal generator
In general, the components , , and need not be resistors; they can be any component that can be described with an impedance.
The voltage drop VF across the forward biased diode in the circuit of a passive rectifier is undesired. In this active version, the problem is solved by connecting the diode in the negative feedback loop. The op-amp compares the output voltage across the load with the input voltage and increases its own output voltage with the value of VF. As a result, the voltage drop VF is compensated and the circuit behaves very nearly as an ideal (super) diode with VF = 0 V.
The circuit has speed limitations at high frequency because of the slow negative feedback and due to the low slew rate of many non-ideal op-amps.
Note that this implementation does not consider temperature stability and other non-ideal effects.
where is the saturation current and is the thermal voltage.
when the voltage is greater than zero, it can be approximated by:
The output voltage is given by: